package com.wenjian.mywj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.wenjian.mywj.dao")//启动时扫描mapper接口，否则会报错找不到mapper文件
public class MywjApplication {

    public static void main(String[] args) {
        SpringApplication.run(MywjApplication.class, args);
    }

}
